﻿using System;
using System.Collections.Generic;
using System.Text;

using DotSpatial.Geometries;
namespace HuanGis
{
    public class FPolyShape : FShape
    {
        public FPolyShape(string id, Coordinate[] coors):base(id)
        {

            this.ComputePoints(coors);
 
        }

        protected void ComputePoints(Coordinate[] coors)
        {
            if (coors.Length > 0)

            {
                this.normalPts.Clear();
                this.KeyPts.Clear();
                this.normalPts.AddRange(coors );

                this.KeyPts.AddRange(coors );

            }
 
        }

    }
}
